
/**
 * Baijiahulian.com Inc. Copyright (c) 2014-2016 All Rights Reserved.
 */

package org.xeustechnologies.jcl;

/**
 * @say little Boy, don't be sad.
 * @name Rezar
 * @time Sep 7, 2016
 * @Desc this guy is too lazy, nothing left.
 */
public interface ResourceClassLoader<T extends ClassLoader> {

    public Class<?> loadClassWithResource(String name, boolean resolve, byte[] resource) throws ClassNotFoundException;
    public Class<?> loadClassWithResource(String name, byte[] resource) throws ClassNotFoundException;
    public void setParentLoader(ClassLoader loader);

}
